DEPENDS = 

all: L06.pdf

clean:
	rm -f *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb



.PRECIOUS: %0001.png %.pdf



%.pdf: %.tex $(DEPENDS)
	pdflatex $<
	pdflatex $<

%.pdf: %.dia
	dia --export=$@.eps --filter=eps-pango $<
	ps2pdf -dEPSCrop $@.eps $@
	rm $@.eps

%.pdf: %.svg
	inkscape -D -z --export-pdf=$@ $<

%0001.png: %.blend
	~/blender/blender -b "$<" -a
